package cn.kgc.springcloud.mapper;

import cn.kgc.springcloud.dto.StudentRequestDTO;
import cn.kgc.springcloud.dto.StudentResponseDTO;
import cn.kgc.springcloud.entity.Student;

import java.util.List;

/**
 * @author: mosin
 * @version: v1.0  2022/6/17
 */
public interface StudentMapper {

    List<Student> selectAll();

    Integer addStudent(Student student);

    StudentResponseDTO selectById(long sid);

    List<Student> selectOne(long id);
}
